package com.example.spring.service;

import com.example.spring.config.Component;
import com.example.spring.config.InitializingBean;

/**
 * <p>
 *
 * </p>
 *
 * @author gqz
 * @version 1.0
 * @since 2021/10/29:17:01
 */
@Component(value = "initService")
public class InitService implements InitializingBean {
    @Override
    public void afterPropertiesSet(String name) throws Exception {
        System.out.println(name+":初始化");
    }
}
